package com.imooc.common.strategy.type.strategy.impl;

import com.imooc.common.strategy.type.db.Hbase;
import com.imooc.common.strategy.type.db.Mongo;
import com.imooc.common.strategy.type.strategy.DbStrategy;

public class MongoStrategy implements DbStrategy {
    @Override
    public void excute() {

        Mongo mongo = new Mongo();
        mongo.getConnect();
        mongo.excute();
        mongo.disconnect();

    }
}
